package com.stedu.mapper;

import com.stedu.bean.Borrow;

import java.util.List;

public interface BorrowMapper {
    //查询所有
    List<Borrow> selectAll();
    //添加记录
    boolean insertBo(Borrow borrow);
    //删除记录
    int deleteBo(Integer boid);
    //修改记录
    int updateBo(Borrow borrow);
    //根据ID查询
    Borrow selectById(Integer boid);
}
